﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

using EasyTest.Application.Service.QuestionBank.Enum;

namespace EasyTest.Application.Service;

/// <summary>
/// 题目管理输出参数
/// </summary>
public class EtQuestionOutput
{
    /// <summary>
    /// 主键Id
    /// </summary>
    public long Id { get; set; }
    
    /// <summary>
    /// 排序
    /// </summary>
    public int OrderNo { get; set; }
    
    /// <summary>
    /// 状态
    /// </summary>
    public int Status { get; set; }
    
    /// <summary>
    /// 租户Id
    /// </summary>
    public long? TenantId { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }
    
    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }
    
    /// <summary>
    /// 创建者Id
    /// </summary>
    public long? CreateUserId { get; set; }
    
    /// <summary>
    /// 创建者姓名
    /// </summary>
    public string? CreateUserName { get; set; }
    
    /// <summary>
    /// 修改者Id
    /// </summary>
    public long? UpdateUserId { get; set; }
    
    /// <summary>
    /// 修改者姓名
    /// </summary>
    public string? UpdateUserName { get; set; }
    
    /// <summary>
    /// 软删除
    /// </summary>
    public bool IsDelete { get; set; }
    
    /// <summary>
    /// 题库
    /// </summary>
    public long QuestionBankId { get; set; }
    
    /// <summary>
    /// 题目分类
    /// </summary>
    public long CategoryId { get; set; }
    
    /// <summary>
    /// 题目内容
    /// </summary>
    public string Content { get; set; }
    
    /// <summary>
    /// 题目类型
    /// </summary>
    public QuestionTypeEnum QuestionType { get; set; }
    
    /// <summary>
    /// 选项
    /// </summary>
    public string Options { get; set; }
    
    /// <summary>
    /// 答案
    /// </summary>
    public string Answer { get; set; }
    
    /// <summary>
    /// 解析
    /// </summary>
    public string Analysis { get; set; }
    
    /// <summary>
    /// 难度
    /// </summary>
    public DifficultyEnum Difficulty { get; set; }
    
    /// <summary>
    /// 分数
    /// </summary>
    public int Score { get; set; }
    
    /// <summary>
    /// 标签
    /// </summary>
    public string Tags { get; set; }
    
    /// <summary>
    /// 时间限制（秒）
    /// </summary>
    public int TimeLimit { get; set; }
    
    /// <summary>
    /// 附件
    /// </summary>
    public string Attachments { get; set; }
    public SysFile AttachmentsAttachment { get; set; }
    
    /// <summary>
    /// 出题人备注
    /// </summary>
    public string CreatorComments { get; set; }
    
    /// <summary>
    /// 跳转地址ID
    /// </summary>
    public int?  JumpAddressId { get; set; }
    
    /// <summary>
    /// 跳转地址路径
    /// </summary>
    public string JumpAddressPath { get; set; }
    
    /// <summary>
    /// 创建者部门Id
    /// </summary>
    public long? CreateOrgId { get; set; }
    
    /// <summary>
    /// 创建者部门名称
    /// </summary>
    public string? CreateOrgName { get; set; }
    
    /// <summary>
    /// 题库名称
    /// </summary>
    public string QuestionBankName { get; set; }
    
    /// <summary>
    /// 分类名称
    /// </summary>
    public string CategoryName { get; set; }
}
 

